import request from '@/axios'

export function getUpToken() {
    return request({
        url: '/file/token',
        method: 'get'
    })
}

export function getFileList(params) {
    return request({
        url: '/file/list',
        method: 'get',
        params
    })
}

export function deleteFile(data) {
    return request({
        url: '/file',
        method: 'delete',
        data
    })
}
